<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <include file="./App/Admin/View/Public/header.html" />
    <include file="./App/Admin/View/Public/menu.html" />
    <include file="./App/Admin/View/Public/js.html" />
	<title>奖品管理</title>
</head>
<body>
<div class="templatemo-content col-1 light-gray-bg">
  <div class="templatemo-top-nav-container">
    <div class="row">
      <nav class="templatemo-top-nav col-lg-12 col-md-12">
        <ul class="text-uppercase">
          <li><a href="" class="active">奖品管理</a></li>
          <li><a class="active" href="__URL__/addPrize">新增  <i class="glyphicon glyphicon-plus"></i></a></li>
        </ul>  
      </nav> 
    </div>
  </div>
<div class="templatemo-content-container">
  <div class="templatemo-content-widget no-padding">
    <div class="panel panel-default table-responsive">
       <table class="table table-striped table-bordered templatemo-user-table">
        <thead>
	      <tr>
		    <td><a href="" class="white-text templatemo-sort-by">奖品编号<span class="caret"></span></a></td>
		    <td><a href="" class="white-text templatemo-sort-by">奖品名称<span class="caret"></span></a></td>
		    <td><a href="" class="white-text templatemo-sort-by">奖品说明<span class="caret"></span></a></td>
		    <td><a href="" class="white-text templatemo-sort-by">运动值<span class="caret"></span></a></td>
        <td><a href="" class="white-text templatemo-sort-by">奖品图片1<span class="caret"></span></a></td>
        <td><a href="" class="white-text templatemo-sort-by">奖品图片2<span class="caret"></span></a></td>
        <!-- <td><a href="" class="white-text templatemo-sort-by">图片3<span class="caret"></span></a></td>
		    <td><a href="" class="white-text templatemo-sort-by">用户编号<span class="caret"></span></a></td> -->
		    
        <td>修改</td>
        <td>删除</td>
	</tr>
   </thead>

   <tbody>      
         <volist name="prizes" id="vo"  >  
            <tr>
                    <td>{$i}</td>
                    <td>{$vo.p_name}</td>
                    <td>{$vo.p_explanation}</td>
                    <td>{$vo.p_value}</td>                 
                  
                    <td><img src="__PUBLIC__/upload/{$vo.p_pic1}" width="60"></td>
                    <td><img src="__PUBLIC__/upload/{$vo.p_pic2}" width="60"></td>
                    <!-- <td><img src="__PUBLIC__/upload/{$vo.p_pic3}" width="60"></td>
                    <td>{$vo.u_id}</td> -->
                  
                    
              <td>
              <a class="btn btn-info" href="__URL__/editPrize/p_id/{$vo.p_id}"><i class="glyphicon glyphicon-pencil">修改</i></a>
              </td>
              <td>
              <a href="__URL__/delPrize/p_id/{$vo.p_id}" class="btn btn-danger" onclick="return confirm('你确定要删除吗？')"><i class="glyphicon glyphicon-trash">删除</i></a>
              </td>

                 
            </tr>       
         </volist>      
   </tbody>
</table>
</div></div>
            <div class="jogger col-md-10   col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
            <p>{$link}</p>
           </div>
           </div>
           
</body>
</html>
